package com.apexedu.biz.entity.client;

import javax.persistence.*;
import java.util.Date;

/**
 * TXxzxXxgl entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_XXZX_XXGL")
public class TXxzxXxgl implements java.io.Serializable {

    // Fields

    private String wid; //主键
    private String fsr; //发送人
    private String fsnr;//发送内容
    private String xxbt;//信息标题
    private String xxlx; //信息类型
    private Date fssj;//发送时间
    private String sffscg; //是否发送成功
    private String ywxtmc; //业务系统名称
    private String ywxtbh; //业务系统编号
    private String sjryx;   //收件人邮箱
    private String sjrsjhm; //收件人手机号码
    private String fsrip;  //发送人ip
    private String sjr;//非持久化对象 收件人
    private String zt;//非持久化对象 状态
    //    private String sjrid;
    private String fszt;
    private String sfsh;
    private Date kssj;// 提醒开始时间  _门户用
    private Date jssj;//提醒结束时间  _门户用
    private String mk;//  所属模块 _门户用
    private String URL;// 系统查看url _门户用
    // Constructors

    /**
     * default constructor
     */
    public TXxzxXxgl() {
    }

    /**
     * minimal constructor
     */
    public TXxzxXxgl(String wid, String fsr, String fsnr, String xxlx,
                     Date fssj, String sffscg, String ywxtmc) {
        this.wid = wid;
        this.fsr = fsr;
        this.fsnr = fsnr;
        this.xxlx = xxlx;
        this.fssj = (Date)fssj.clone();
        this.sffscg = sffscg;
        this.ywxtmc = ywxtmc;
    }

    /**
     * full constructor
     */
    public TXxzxXxgl(String wid, String fsr, String fsnr,
                     String xxbt, String xxlx, Date fssj, String sffscg, String ywxtmc,
                     String ywxtbh, String sjryx, String sjrsjhm) {
        this.wid = wid;
        this.fsr = fsr;
        this.fsnr = fsnr;
        this.xxbt = xxbt;
        this.xxlx = xxlx;
        this.fssj = (Date)fssj.clone();
        this.sffscg = sffscg;
        this.ywxtmc = ywxtmc;
        this.ywxtbh = ywxtbh;
        this.sjryx = sjryx;
        this.sjrsjhm = sjrsjhm;
    }

    public TXxzxXxgl(String wid, String fsr, Date fssj, String sjr, String xxlx, String zt) {
        this.wid = wid;
        this.fsr = fsr;
        this.fssj = (Date)fssj.clone();
        this.sjr = sjr;
        this.xxlx = xxlx;
        this.zt = zt;
    }

    // Property accessors
    @Id
    @Column(name = "WID", unique = true, nullable = false, length = 50)
    public String getWid() {
        return this.wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    @Column(name = "FSR", length = 100)
    public String getFsr() {
        return this.fsr;
    }

    public void setFsr(String fsr) {
        this.fsr = fsr;
    }

    @Column(name = "FSNR")
    public String getFsnr() {
        return this.fsnr;
    }

    public void setFsnr(String fsnr) {
        this.fsnr = fsnr;
    }

    @Column(name = "XXBT", length = 100)
    public String getXxbt() {
        return this.xxbt;
    }

    public void setXxbt(String xxbt) {
        this.xxbt = xxbt;
    }

    @Column(name = "XXLX", nullable = false, length = 2)
    public String getXxlx() {
        return this.xxlx;
    }

    public void setXxlx(String xxlx) {
        this.xxlx = xxlx;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "FSSJ", nullable = false, length = 7)
    public Date getFssj() {
        return (Date)fssj.clone();
    }

    public void setFssj(Date fssj) {
        this.fssj = (Date)fssj.clone();
    }

    @Column(name = "SFFSCG", nullable = false, length = 2)
    public String getSffscg() {
        return this.sffscg;
    }

    public void setSffscg(String sffscg) {
        this.sffscg = sffscg;
    }

    @Column(name = "YWXTMC", length = 100)
    public String getYwxtmc() {
        return this.ywxtmc;
    }

    public void setYwxtmc(String ywxtmc) {
        this.ywxtmc = ywxtmc;
    }

    @Column(name = "YWXTBH", length = 50)
    public String getYwxtbh() {
        return this.ywxtbh;
    }

    public void setYwxtbh(String ywxtbh) {
        this.ywxtbh = ywxtbh;
    }

    @Column(name = "SJRYX", length = 100)
    public String getSjryx() {
        return this.sjryx;
    }

    public void setSjryx(String sjryx) {
        this.sjryx = sjryx;
    }

    @Column(name = "SJRSJHM", length = 20)
    public String getSjrsjhm() {
        return this.sjrsjhm;
    }

    public void setSjrsjhm(String sjrsjhm) {
        this.sjrsjhm = sjrsjhm;
    }

    @Column(name = "FSRIP", length = 50)
    public String getFsrip() {
        return fsrip;
    }

    public void setFsrip(String fsrip) {
        this.fsrip = fsrip;
    }

    @Transient
    public String getSjr() {
        return sjr;
    }

    public void setSjr(String sjr) {
        this.sjr = sjr;
    }

    @Transient
    public String getZt() {
        return zt;
    }

    public void setZt(String zt) {
        this.zt = zt;
    }

    @Column(name = "SFSH")
    public String getSfsh() {
        return sfsh;
    }

    public void setSfsh(String sfsh) {
        this.sfsh = sfsh;
    }

    @Column(name = "FSZT")
    public String getFszt() {
        return fszt;
    }

    public void setFszt(String fszt) {
        this.fszt = fszt;
    }
    @Column(name = "KSSJ")
    public Date getKssj() {
        return kssj;
    }

    public void setKssj(Date kssj) {
        this.kssj = (Date)kssj.clone();
    }
    @Column(name = "JSSJ")
    public Date getJssj() {
        return jssj;
    }

    public void setJssj(Date jssj) {
        this.jssj = (Date)jssj.clone();
    }
    @Column(name = "MK")
    public String getMk() {
        return mk;
    }

    public void setMk(String mk) {
        this.mk = mk;
    }
    @Column(name = "URL")
    public String getURL() {
        return URL;
    }

    public void setURL(String URL) {
        this.URL = URL;
    }
    //    @Column(name="SJRID")
//    public String getSjrid() {
//        return sjrid;
//    }
//
//    public void setSjrid(String sjrid) {
//        this.sjrid = sjrid;
//    }
}